projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2625668
)
* nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
author
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 7 Apr 2013 10:51:29 +0000
(12:51 +0200)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 7 Apr 2013 10:51:29 +0000
(12:51 +0200)
f->output_data.ns.
src/ChangeLog
patch
|
blob
|
history
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 75a7388f2c49525f84091e48f1c71e4b12ca1208..545df8e050f5df312904d944ec19d82057848ffc 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2013-03-31 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
+ f->output_data.ns.
+
2013-04-07 Paul Eggert <eggert@cs.ucla.edu>
Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).
diff --git
a/src/nsterm.m
b/src/nsterm.m
index bc3150c0a075d970e3a7f99d9b269ea2e8f56e02..f5b48ee4b112d01411089d9f2e2af0aa8c23d369 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-1883,7
+1883,7
@@
ns_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window,
f = dpyinfo->x_focus_frame ? dpyinfo->x_focus_frame
: SELECTED_FRAME ();
- if (f &&
f->output_data.ns) /* TODO: 2nd check no longer needed? */
+ if (f &&
FRAME_NS_P (f))
{
view = FRAME_NS_VIEW (*fp);